package cn.itcast.service.impl;

import cn.itcast.dao.MemberDao;
import cn.itcast.service.ReportMemberService;
import com.alibaba.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;




@Service(version = "1.0.0")
public class ReportMemberServiceImpl implements ReportMemberService {

    @Autowired
    private MemberDao memberDao;

    /**
     *     查询该月的会员总数
     */
    @Override
    public Integer queryMemberCount(String month,String month1) {
        Integer count = this.memberDao.selectMemberCount(month, month1);
        return count;


    }
}
